package cn.iocoder.yudao.module.resource.controller.admin.audio.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 音频关联内容
 *
 * @author 王广帅
 * @version 1.0.0
 * @since 2024/9/1 21:25
 */
@Data
@Schema(description = "音频关联内容类")
public class AudioRelationSaveVo {
    @Schema(description = "如果为默认回复，只需要选择对应的音频id即可，且此字段为true，如果是false，需要选择关键字及音频")
    private boolean defaultCon;
    @Schema(description = "如果relationType是2时，且当前不是默认回复，此ids为选择的关键字id")
    private List<Integer> ids;
    @Schema(description = "对应的关联音频id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer audioId;
}
